package com.wlps.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DispatchingManagementVo {
    @ApiModelProperty(value="订单id")
    private long id;
    @ApiModelProperty(value="订单种类")
    private Integer orderType;
    @ApiModelProperty(value="订单状态")
    private Integer orderStatus;
    @ApiModelProperty(value="订购客户姓名")
    private String name;
    @ApiModelProperty(value="收货客户信息")
    private String receiver;
    @ApiModelProperty(value="备注信息")
    private String remark;
    @ApiModelProperty(value="联系电话0")
    private String phone;
    @ApiModelProperty(value="配送信息")
    private String deliveryInformation;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//数据库导出页面时json格式化
    @ApiModelProperty(value = "完成时间")
    private Date finishDate;
}
